.toggle-visible {
  overflow: visible;
  overflow-x: hidden;
}

.toggle-hidden {
  overflow: hidden;
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10vh;
  width: 90%;
  padding-left: 3vw;
  padding-top: 2vh;
  margin-right: 3.5vh;
  font-size: larger;

  @media #{$mobile} {
    padding-top: 0;

  }

}

.header__logo {

  .logo__item {
    // font-size: larger;
    // font-weight: 600;
    // text-decoration: none;
    // font-family: $font-titles;
    // color: $backgroundLine;
    position: relative;
    z-index: 3;
    cursor: pointer;

    display: flex;
    flex-direction: row;
    justify-content: start;

    padding-left: 2.5vw;
    margin-bottom: 8px;
  }

  .logo__picture {
    height: 4vw;

    @media #{$tablet} {
      height: 6vw;

    }

    @media #{$mobile} {
      height: 8vw;
    }
  }

  .logo__picture_text {
    @media #{$tablet} {
      display: none;

    }

    @media #{$mobile} {
      display: none;
    }
  }
}

.header__links {
  display: flex;

  @media #{$mobile} {
    display: none;
  }

  .link__item {
    text-decoration: none;
    color: $backgroundLine;
    font-family: $font-texts;
    font-weight: 600;
    text-align: center;
    width: 2rem;
    // left: 60px;
    cursor: pointer;

    @media #{$tablet} {
      width: 100%;
    }
  }
}

.header__search {
  display: flex;
  flex-direction: column;

  .search__input {
    width: 300px;
    height: 40px;
    top: 23px;
    left: 45%;
    background-color: #ffccfd;
    color: $backgroundLine;
    border-radius: 20px;
    font-size: large;
    font-family: $font-texts;
    font-weight: 600;

    @media #{$mobile} {
      max-width: 60vw;
      width: 100%;
    }

  }

  .search__list {
    max-width: 400px;
    color: $backgroundLine;
    list-style: none;
    position: absolute;
    top: 10%;
    background-color: #ffffffd3;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    /* Чтобы список был поверх остальных элементов */
    display: none;

    .list__item {
      padding-top: 1%;
      padding-left: 3%;
      padding-bottom: 2%;
      margin-left: 3%;
      margin-bottom: 2%;
      border-bottom: 2px solid #80808036;


      .list__link {
        text-decoration: none;
        cursor: pointer;
        font-family: $font-texts;
      }
    }
  }
}

.header__account {
  display: flex;
  justify-content: space-around;
  width: 30%;

  @media #{$mobile} {
    display: none;
  }

  @media #{$tablet} {
    width: 10%;
  }

  .account__personal {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .account__greeting {
      @media #{$tablet} {
        display: none;
      }

      font-size: 12px;
      top: 28px;
      left: 73%;
      font-family: $font-texts;
      color: $backgroundLine;
      margin-right: 7px;
      font-size: large;

    }

    .account__avatar {
      width: 25px;
      height: 25px;
      cursor: pointer;
    }
  }

  .account__exit {
    display: flex;
    align-items: center;

    @media #{$mobile} {
      flex-direction: row;
    }

    .exit__img {
      // width: 2rem;
      height: 25px;
      top: 25px;
      left: 85%;
      cursor: pointer;

    }

    .exit__text {
      @media #{$tablet} {
        display: none;
      }

      // top: 28px;
      // left: 88%;
      font-family: $font-texts;
      color: $backgroundLine;

    }
  }

  .account__enter {
    .account__btn {
      background-color: #ffccfd;
      font-family: $font-btns;
      border-radius: 4vh;
      border: solid black 1px;
      color: black;
      // padding: 3% 5%;
      width: 10vh;
      height: 5vh; //поиграть с размерами для адаптива
      cursor: pointer;

      @media #{$tablet} {
        width: 6vh;
        height: 4.5vh;
      }
    }

    .account__btn:hover {
      background-color: $btnBackGroundHover;
      box-shadow: 5px 5px 5px $color;
    }

  }
}

.burger-menu {
  display: none;

  @media #{$mobile} {
    display: flex;
  }

  &__button {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 30;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
  }

  &__button:hover,
  &__lines {
    filter: brightness(0.7);
  }

  &__button:hover {
    background-color: rgba(255, 255, 255, 0.7);
  }

  &__lines::before,
  &__lines::after,
  &__lines {
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #BB1E99;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
  }

  &__lines {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  &__lines::before {
    content: '';
    top: -12px;
  }

  &__lines::after {
    content: '';
    top: 12px;
  }


  &__active &__lines {
    background-color: transparent;
  }

  &__active &__lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  &__active &__lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  &__nav {
    padding-top: 120px;
    position: fixed;
    top: 0;
    z-index: 20;
    display: flex;
    flex-flow: column;
    height: 100%;
    background-color: #F9AFE9;
    overflow-y: auto;
    right: -100%;
    -webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -o-transition: 0.8s;
    transition: 0.8s;
  }

  &__active &__nav {
    right: 0;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
  }

  &__link {
    display: flex;
    padding: 18px 35px;
    font-family: $font-texts;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 400;
    color: #BB1E99;
    border-bottom: 1px solid #fff;

    cursor: pointer;
  }

  &__link:first-child {
    border-top: 1px solid #fff;
  }

  &__link:hover {
    filter: brightness(0.9);
  }

  &__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    // width: 100vw;
    // height: 100vh;
    width: 100%;
    height: 100%;
    z-index: 10;
  }

  &__active &__overlay {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
  }
}


// section {
//   display: flex;
//   align-items: center;
//   justify-content: center;
//   height: 100vh;
//   font-family: sans-serif;
//   font-size: 72px;
//   text-transform: uppercase;
//   color: #000;
// }

.tiny-img {
  max-width: 20px;
}